package licode.unisop.types.dp;

import licode.unisop.types.BaseIdentifier;
import org.springframework.util.Assert;

public class ClientId implements BaseIdentifier<String> {
    public static int MAX_SIZE = 64;

    private final String id;

    public ClientId(String id) {
        Assert.notNull(id, "客户端标识为空");
        this.id = id;
    }

    @Override
    public String getId() {
        return id;
    }
}
